home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Development Tools & Languages / MouseInfo / UMouseDocument.h < prev    next >
Encoding:
Text File  |  1995-02-04  |  1.0 KB  |  54 lines  |  [TEXT/MPS ]

  1. //     UMouseDocument.h
  2. //     Copyright © 1992 by Apple Computer, Inc. All rights reserved.
  3. //    Kent Sandvik DTS
  4. //    This file contains the TMouseDocument class, the basic TDocument
  5. //    class used in the MouseInfo application.
  6. //    Version Info (latest first):
  7. //
  8. //    <1>        khs        1.0        First final version
  9. //    <2>        khs        1.0.1    Fixed a memory leak in TMapApplication::GetSleepValue()
  10.  
  11.  
  12. #ifndef __UMOUSEDOCUMENT__
  13. #define __UMOUSEDOCUMENT__
  14.  
  15. //    INCLUDE FILES
  16.  
  17. #ifndef __UMOUSEINFO__
  18. #include "UMouseInfo.h"
  19. #endif
  20.  
  21. #ifndef __UMENUEDWINDOW__
  22. #include "UMenuedWindow.h"
  23. #endif
  24.  
  25. #ifndef __UMOUSETRACKBEHAVIOR__
  26. #include "UMouseTrackBehavior.h"
  27. #endif
  28.  
  29.  
  30. //    CLASSES
  31. //    TMouseDocument, our main document class which coordinates it all
  32. //    It does not really do much decent work, though, but hey this is a sample
  33. DeclareClassDesc(TMouseDocument);
  34.  
  35. class TMouseDocument : public TDocument
  36. {
  37.  
  38.     DeclareClass(TMouseDocument);
  39.  
  40. public:
  41.     TMouseDocument();
  42.     virtual      void IMouseDocument();
  43.     virtual      void Free();
  44.  
  45.     virtual      void DoMakeViews(Boolean        /*forPrinting*/);
  46.  
  47.     TView* fMainView;
  48. };
  49.  
  50.  
  51.  
  52. #endif
  53.  
  54.